package com.easybuilder.common.utils;

/**
 * 密码工具类
 *
 * @author 张兴帅
 * @projectName easy-builder
 * @packageNmae com.easybuilder.common.utils
 * @fileNmae PasswordUtil
 * @date 2023-5-16
 * @copyright 华能信息技术有限公司
 * @since 0.0.1
 */
public class PasswordUtil {

    /** 加密KEY **/
    private static final String KEY = "TOPZXS";

    /** 初始密码 **/
    private static final String PASSWORD = "123456";

    public static String initPassword() {
        return new DES(KEY).encrypt(PASSWORD);
    }
}